package com.linkage.bookshop.model;

import java.util.Date;

public class Book {
	private String author;
	private String description;
	private Integer id;
	private String imagePath;
	private Double inPrice;
	private String name;
	private boolean onsaleFlag;
	private Double outPrice;
	private String press;
	private Date publishTime;
	private Integer saleVolume;
	private Integer storageVolume;
	private Booktype booktype;
	public Booktype getBooktype() {
		return booktype;
	}
	public void setBooktype(Booktype booktype) {
		this.booktype = booktype;
	}
	public String getAuthor() {
		return author;
	}
	public String getDescription() {
		return description;
	}

	public Integer getId() {
		return id;
	}

	public String getImagePath() {
		return imagePath;
	}

	public Double getInPrice() {
		return inPrice;
	}

	public String getName() {
		return name;
	}

	public Double getOutPrice() {
		return outPrice;
	}

	public String getPress() {
		return press;
	}

	public Date getPublishTime() {
		return publishTime;
	}

	public Integer getSaleVolume() {
		return saleVolume;
	}

	public Integer getStorageVolume() {
		return storageVolume;
	}

	public boolean isOnsaleFlag() {
		return onsaleFlag;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public void setImagePath(String imagePath) {
		this.imagePath = imagePath;
	}

	public void setInPrice(Double inPrice) {
		this.inPrice = inPrice;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setOnsaleFlag(boolean onsaleFlag) {
		this.onsaleFlag = onsaleFlag;
	}

	public void setOutPrice(Double outPrice) {
		this.outPrice = outPrice;
	}

	public void setPress(String press) {
		this.press = press;
	}

	public void setPublishTime(Date publishTime) {
		this.publishTime = publishTime;
	}

	public void setSaleVolume(Integer saleVolume) {
		this.saleVolume = saleVolume;
	}

	public void setStorageVolume(Integer storageVolume) {
		this.storageVolume = storageVolume;
	}
}
